package com.kfm.springboot.mapper;

import com.kfm.springboot.domain.SysRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 10854
* @description 针对表【sys_role】的数据库操作Mapper
* @createDate 2022-11-07 09:57:43
* @Entity com.kfm.springboot.domain.SysRole
*/
@Mapper
public interface SysRoleMapper {

    int deleteByPrimaryKey(Long id);

    int insertSelective(SysRole record);

    SysRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysRole record);

    List<SysRole> selectByUserId(String userId);


}
